import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SCrossSWPlayerScoreInfo
    
    export  class SCrossSWPlayerScoreInfo
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.id);
            arg1.writeInt(this.proxyId);
            arg1.writeInt(this.serverId);
            arg1.writeInt(this.playerId);
            arg1.writeString(this.name);
            arg1.writeInt(this.score);
            arg1.writeInt(this.combat);
            arg1.writeInt(this.totalNum);
            arg1.writeInt(this.winNum);
            arg1.writeDate(this.updateDt);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.id = arg1.readInt();
            this.proxyId = arg1.readInt();
            this.serverId = arg1.readInt();
            this.playerId = arg1.readInt();
            this.name = arg1.readString();
            this.score = arg1.readInt();
            this.combat = arg1.readInt();
            this.totalNum = arg1.readInt();
            this.winNum = arg1.readInt();
            this.updateDt = arg1.readDate();
            return;
        }

        public /* var */id: int;

        public /* var */proxyId: int;

        public /* var */serverId: int;

        public /* var */playerId: int;

        public /* var */name: string;

        public /* var */score: int;

        public /* var */combat: int;

        public /* var */totalNum: int;

        public /* var */winNum: int;

        public /* var */updateDt: Date;
    }
